﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using DataLayer;

namespace BusinessLayer.Workflows
{
	public sealed partial class Tab_AddWidget: SequentialWorkflowActivity
	{
		public Tab_AddWidget()
		{
			InitializeComponent();
		}

      public static DependencyProperty TabIdProperty = DependencyProperty.Register("TabId", typeof(int), typeof(BusinessLayer.Workflows.Tab_AddWidget));
      [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
      [BrowsableAttribute(true)]
      [CategoryAttribute("Misc")]
      public int TabId
      {
         get
         {
            return ((int)(base.GetValue(BusinessLayer.Workflows.Tab_AddWidget.TabIdProperty)));
         }
         set
         {
            base.SetValue(BusinessLayer.Workflows.Tab_AddWidget.TabIdProperty, value);
         }
      }

      public static DependencyProperty UserGuidProperty = DependencyProperty.Register("UserGuid", typeof(Guid), typeof(BusinessLayer.Workflows.Tab_AddWidget));
      [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
      [BrowsableAttribute(true)]
      [CategoryAttribute("Misc")]
      public Guid UserGuid
      {
         get
         {
            return ((Guid)(base.GetValue(BusinessLayer.Workflows.Tab_AddWidget.UserGuidProperty)));
         }
         set
         {
            base.SetValue(BusinessLayer.Workflows.Tab_AddWidget.UserGuidProperty, value);
         }
      }


      public static DependencyProperty WidgetIdProperty = DependencyProperty.Register("WidgetId", typeof(int), typeof(BusinessLayer.Workflows.Tab_AddWidget));
      [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
      [BrowsableAttribute(true)]
      [CategoryAttribute("Misc")]
      public int WidgetId
      {
         get
         {
            return ((int)(base.GetValue(BusinessLayer.Workflows.Tab_AddWidget.WidgetIdProperty)));
         }
         set
         {
            base.SetValue(BusinessLayer.Workflows.Tab_AddWidget.WidgetIdProperty, value);
         }
      }

      public static DependencyProperty WidgetInstanceProperty = DependencyProperty.Register("WidgetInstance", typeof(TabWidget), typeof(BusinessLayer.Workflows.Tab_AddWidget));
      [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
      [BrowsableAttribute(true)]
      [CategoryAttribute("Misc")]
      public TabWidget WidgetInstance
      {
         get
         {
            return ((TabWidget)(base.GetValue(BusinessLayer.Workflows.Tab_AddWidget.WidgetInstanceProperty)));
         }
         set
         {
            base.SetValue(BusinessLayer.Workflows.Tab_AddWidget.WidgetInstanceProperty, value);
         }
      }

      public static DependencyProperty StateProperty = DependencyProperty.Register("State", typeof(string), typeof(BusinessLayer.Workflows.Tab_AddWidget));
      [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
      [BrowsableAttribute(true)]
      [CategoryAttribute("Misc")]
      public string State
      {
         get
         {
            return ((string)(base.GetValue(BusinessLayer.Workflows.Tab_AddWidget.StateProperty)));
         }
         set
         {
            base.SetValue(BusinessLayer.Workflows.Tab_AddWidget.StateProperty, value);
         }
      }

      public static DependencyProperty TitleProperty = DependencyProperty.Register("Title", typeof(string), typeof(BusinessLayer.Workflows.Tab_AddWidget));
      [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
      [BrowsableAttribute(true)]
      [CategoryAttribute("Misc")]
      public string Title
      {
         get
         {
            return ((string)(base.GetValue(BusinessLayer.Workflows.Tab_AddWidget.TitleProperty)));
         }
         set
         {
            base.SetValue(BusinessLayer.Workflows.Tab_AddWidget.TitleProperty, value);
         }
      }

      public static DependencyProperty IconProperty = DependencyProperty.Register("Icon", typeof(string), typeof(BusinessLayer.Workflows.Tab_AddWidget));
      [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
      [BrowsableAttribute(true)]
      [CategoryAttribute("Misc")]
      public string Icon
      {
         get
         {
            return ((string)(base.GetValue(BusinessLayer.Workflows.Tab_AddWidget.IconProperty)));
         }
         set
         {
            base.SetValue(BusinessLayer.Workflows.Tab_AddWidget.IconProperty, value);
         }
      }
	}

}
